<?php

namespace App\Models\Member;

use App\Models\BaseModel;

/**
 * App\Models\Member\CertificationCompany
 *
 * @property int $id
 * @property int $user_id 用户ID
 * @property string $name 企业名称
 * @property string $type 证件类型
 * @property string $number 证件号码
 * @property string $image1 正面照片 url
 * @property string|null $image2 反面照片 url
 * @property int $status 认证状态 等待验证=0 通过验证=1 验证失败=-1
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany query()
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereImage1($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereImage2($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereNumber($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|CertificationCompany whereUserId($value)
 * @mixin \Eloquent
 */
class CertificationCompany extends BaseModel {

	protected $table = 'certification_company';
	protected $primaryKey = 'id';
	public $timestamps = true;
	protected $fillable = [
		'user_id',
		'name',
		'type',
		'number',
		'image1',
		'image2',
		'status',
	];

}
